//
//  FlashlightLabel.h
//  YuiKe
//
//  Created by yuike5 yuike5 on 11-11-22.
//  Copyright (c) 2011年 yuike. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

#define kTextAnimationKey @"textAnimation"



@interface FlashlightLabel : UILabel
{    
    CAGradientLayer *animationLayer;
    NSArray *gradientLocations;
    NSArray *gradientEndLocations;
    UILabel* label;
}



-(void) setFlashText:(NSString *)text;
-(void) startTextAnimation;
-(void) stopTextAnimation;


@end
